$def with (filename="")

$var jsfiles: /static/libs/logic/${filename}.js
$var title: demo

<style type="text/css">
    .textval {
        width: 100%;
        height: 60vh;
    }

    .wt {
        height: 200px;
    }

    .wt textarea {
        height: 100%;
    }

    .grid-bg1 {
        background-color: #16baaa;
    }

    .grid-bg2 {
        background-color: #31bdec;
    }
</style>
<div class="layui-card">
    <div class="layui-card-header">demo</div>
    <form class="layui-form layui-form-pane" action="" lay-filter="pack-form">

        <div class="layui-form-item">
            <a class="layui-btn test" href="#">调用python方法</a>

            <a class="layui-btn openfile" href="#">打开文件</a>

            <a class="layui-btn savefile" href="#">保存文件</a>
        </div>
        <div class="layui-form-item">
            <textarea class="textval"></textarea>
        </div>

    </form>
</div>